package com.ruoyi.mapper;

import com.ruoyi.domain.AbilityInstitution;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
/**
 * 机构Mapper接口
 * 
 * @author ruoyi
 * @date 2024-08-20
 */
public interface AbilityInstitutionMapper 
{
    /**
     * 查询机构
     * 
     * @param ID 机构主键
     * @return 机构
     */
    public AbilityInstitution selectAbilityInstitutionByID(Long ID);

    /**
     * 查询机构列表
     * 
     * @param abilityInstitution 机构
     * @return 机构集合
     */
    public List<AbilityInstitution> selectAbilityInstitutionList(AbilityInstitution abilityInstitution);

    /**
     * 新增机构
     * 
     * @param abilityInstitution 机构
     * @return 结果
     */
    public int insertAbilityInstitution(AbilityInstitution abilityInstitution);

    /**
     * 修改机构
     * 
     * @param abilityInstitution 机构
     * @return 结果
     */
    public int updateAbilityInstitution(AbilityInstitution abilityInstitution);

    /**
     * 删除机构
     * 
     * @param ID 机构主键
     * @return 结果
     */
    public int deleteAbilityInstitutionByID(Long ID);

    /**
     * 批量删除机构
     * 
     * @param IDs 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAbilityInstitutionByIDs(Long[] IDs);
}
